﻿using B.S.BasicData.ErrorCode;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace B.S.BasicData.Write.Application.Common.User
{
    public class CreateUserCommon:IRequest<ApiResult<int>>
    {
       
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string PassWord { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public int Sex { get; set; }
        /// <summary>
        /// 省份
        /// </summary>
        public int provinceId { get; set; }
        /// <summary>
        /// 详细地址
        /// </summary>
        public string Addr { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }=DateTime.Now;
        ///// <summary>
        ///// 修改人
        ///// </summary>
        //public string UpdateName { get; set; }
        ///// <summary>
        ///// 修改时间
        ///// </summary>
        //public DateTime? UpdateTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDel { get; set; }

        public int DepartmentId { get; set; }
    }
}
